package org.cdivtc.exam.service;

import org.apache.catalina.User;
import org.cdivtc.exam.DTO.StudentAddDTO;
import org.cdivtc.exam.entity.Students;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 学生基本信息表 服务类
 * </p>
 *
 * @author xiaogoudashuai
 * @since 2025-03-27
 */
public interface StudentsService extends IService<Students> {
    Map<String, Object> login(String account, String password);

    void updatePhoneAndPassword(Long studentId, String newPhone, String newPassword);

    Students addStudent(StudentAddDTO studentDTO);

}
